package org.jeecg.modules.testCode.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.jeecg.modules.common.baseentity.PublicBeanPage;
import org.jeecg.modules.common.utils.DateUtil;
import org.jeecg.config.mybatis.TenantContext;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: shiyj_test
 * @author: baochangrong
 * @Date:   2022-06-10
 * @Version: V1.0
 */
@Data
@TableName("shiyj_test")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="shiyj_test对象", description="shiyj_test")
public class ShiyjTest extends PublicBeanPage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
	/**学生状态(1正常，2休学，3退学，4转出，5转入，6毕业）*/
	@Excel(name = "学生状态(1正常，2休学，3退学，4转出，5转入，6毕业）", width = 15)
    @ApiModelProperty(value = "学生状态(1正常，2休学，3退学，4转出，5转入，6毕业）")
    private Integer name;
	/**备注说明*/
	@Excel(name = "备注说明", width = 15)
    @ApiModelProperty(value = "备注说明")
    private String nameRemark;
	/**导入数据时的批次号，便于批量处理数据*/
	@Excel(name = "导入数据时的批次号，便于批量处理数据", width = 15)
    @ApiModelProperty(value = "导入数据时的批次号，便于批量处理数据")
    private String batchNumber;
	/**是否启用（1是：启用  0否：未启用）*/
	@Excel(name = "是否启用（1是：启用  0否：未启用）", width = 15)
    @ApiModelProperty(value = "是否启用（1是：启用  0否：未启用）")
    private Integer izOpen=1;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private int delFlag=0;
	/**学校编码*/
	@Excel(name = "学校编码", width = 15)
    @ApiModelProperty(value = "学校编码")
    private String tenantId= TenantContext.getTenant();
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime= DateUtil.getCurrentDate();
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime= DateUtil.getCurrentDate();
}
